package net.sirun.tcp.common.bean;

import com.alibaba.fastjson.JSONObject;
import io.netty.channel.ChannelHandlerContext;
import java.util.Map;

public class TcpChannelBean {
	private String channelId;
	private String remoteAddress;
	public Map<String, Object> channelMap;
	private ChannelHandlerContext ctx;

	public String getChannelId() {
		return this.channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getRemoteAddress() {
		return this.remoteAddress;
	}

	public void setRemoteAddress(String remoteAddress) {
		this.remoteAddress = remoteAddress;
	}

	public Map<String, Object> getChannelMap() {
		return this.channelMap;
	}

	public void setChannelMap(Map<String, Object> channelMap) {
		this.channelMap = channelMap;
	}

	public ChannelHandlerContext getCtx() {
		return this.ctx;
	}

	public void setCtx(ChannelHandlerContext ctx) {
		this.ctx = ctx;
	}

	public String toString() {
		return JSONObject.toJSONString(this);
	}
}